package cn.ppdai.hu.firstBoot;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by huxuhong on 2018/9/6.
 */
@Component
public class BaseProperties {
    @Value("${spring.hudada.name}")
    private String name;

    @Value("${spring.hudada.age}")
    private String id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
